import { Routes } from '@angular/router';

import { TradePlatformComponent } from './trade-platform.component';
import { DefaultComponent } from './default/default.component';
import { InnovationComponent } from './innovation/innovation.component';


export const tradePlatformRoutes: Routes = [
  {
    path: 'platform',
    component: TradePlatformComponent,
    children: [{
      path: '',
      redirectTo: 'default',
      pathMatch: 'full'
    },
    {
      path: 'default',
      component: DefaultComponent
    },
    {
      path: 'innovation',
      component: InnovationComponent
    },
    {
      path: '**',
      component: DefaultComponent
    }]
  }
];